aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-10 15:10:43 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-10 15:10:43 +0200
commit94df1f4d840549fe29469984de97325abc00dede (patch)
tree638311f61afa959d6a019689e600f27c4dedb9ba
parentMerge pull request #1040 (diff)
parentcmake: fix def propagation, fixes 32-bit build (diff)
downloadmonero-94df1f4d840549fe29469984de97325abc00dede.tar.xz
Merge pull request #1044
b1d5189 cmake: fix def propagation, fixes 32-bit build (redfish)
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6010e3805..55a276f06 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -92,6 +92,8 @@ function (bitmonero_add_library name)
set_property(TARGET "${name}"
PROPERTY
FOLDER "libs")
+ target_compile_definitions(${objlib}
+ PRIVATE $<TARGET_PROPERTY:${name},INTERFACE_COMPILE_DEFINITIONS>)
endfunction ()
add_subdirectory(common)