mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 01:37:56 +08:00
Fix a typo in CMakeLists.txt
This commit is contained in:
parent
7971be930b
commit
8eee5eb1a8
@ -1102,7 +1102,7 @@ if(MSVC)
|
|||||||
# default for all sources is to use precompiled headers
|
# default for all sources is to use precompiled headers
|
||||||
foreach(source ${sources})
|
foreach(source ${sources})
|
||||||
# C and C++ can not use the same precompiled header
|
# C and C++ can not use the same precompiled header
|
||||||
if(${soruce} MATCHES ".cpp$" AND NOT ${source} STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/src/precompiled.cpp")
|
if(${source} MATCHES ".cpp$" AND NOT ${source} STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/src/precompiled.cpp")
|
||||||
set_source_files_properties(${source}
|
set_source_files_properties(${source}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
COMPILE_FLAGS "/Yuprecompiled.hpp"
|
COMPILE_FLAGS "/Yuprecompiled.hpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user