Merge pull request #1044

b1d5189 cmake: fix def propagation, fixes 32-bit build (redfish)
This commit is contained in:
Riccardo Spagni 2016-09-10 15:10:43 +02:00
commit 94df1f4d84
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ function (bitmonero_add_library name)
set_property(TARGET "${name}" set_property(TARGET "${name}"
PROPERTY PROPERTY
FOLDER "libs") FOLDER "libs")
target_compile_definitions(${objlib}
PRIVATE $<TARGET_PROPERTY:${name},INTERFACE_COMPILE_DEFINITIONS>)
endfunction () endfunction ()
add_subdirectory(common) add_subdirectory(common)