mirror of
https://github.com/reactos/reactos.git
synced 2025-01-10 08:10:18 +00:00
[CMAKE]
- mingw_common : set_property -> set_target_properties. - crt : fix target properties. svn path=/branches/cmake-bringup/; revision=48357
This commit is contained in:
parent
102a9c242e
commit
6bdc331638
2 changed files with 2 additions and 2 deletions
2
lib/3rdparty/mingw/CMakeLists.txt
vendored
2
lib/3rdparty/mingw/CMakeLists.txt
vendored
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue