diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-09-10 15:10:43 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-09-10 15:10:43 +0200 |
commit | 94df1f4d840549fe29469984de97325abc00dede (patch) | |
tree | 638311f61afa959d6a019689e600f27c4dedb9ba | |
parent | Merge pull request #1040 (diff) | |
parent | cmake: fix def propagation, fixes 32-bit build (diff) | |
download | monero-94df1f4d840549fe29469984de97325abc00dede.tar.xz |
Merge pull request #1044
b1d5189 cmake: fix def propagation, fixes 32-bit build (redfish)
-rw-r--r-- | src/CMakeLists.txt | 2 |
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) |