[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 29 Jul 2010 15:52:00 +0000 (15:52 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 29 Jul 2010 15:52:00 +0000 (15:52 +0000)
- mingw_common : set_property -> set_target_properties.
- crt : fix target properties.

svn path=/branches/cmake-bringup/; revision=48357

lib/3rdparty/mingw/CMakeLists.txt
lib/sdk/crt/CMakeLists.txt

index 0e27253..f2fd423 100644 (file)
@@ -37,7 +37,7 @@ set(MINGW_COMMON_SOURCE
 add_library(mingw_common ${MINGW_COMMON_SOURCE})
 target_link_libraries(mingw_common oldnames)
 
-set_property(TARGET mingw_common PROPERTY COMPILE_DEFINITIONS _M_CEE_PURE)
+set_target_properties(mingw_common PROPERTIES COMPILE_DEFINITIONS _M_CEE_PURE)
 
 add_dependencies(mingw_common psdk)
 
index 1fb3abe..8d12e6b 100644 (file)
@@ -9,7 +9,7 @@ LIST(REMOVE_ITEM CRT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/stdio/findgen.c)
 LIST(REMOVE_ITEM CRT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/string/strtold.c)
 
 add_library(crt ${CRT_SOURCE})
-set_property(TARGET crt PROPERTY COMPILE_DEFINITIONS -D__MINGW_IMPORT=extern -DUSE_MSVCRT_PREFIX -D_MSVCRT_LIB_ -D_MSVCRT_ -D_MT)
+set_property(TARGET crt PROPERTY COMPILE_DEFINITIONS __MINGW_IMPORT=extern USE_MSVCRT_PREFIX _MSVCRT_LIB_ _MSVCRT_ _MT)
 add_dependencies(crt psdk)
 
 get_directory_property(defines COMPILE_DEFINITIONS)