0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00

Fix a typo in CMakeLists.txt

This commit is contained in:
Romain Moret 2019-05-06 20:19:50 +02:00
parent 7971be930b
commit 8eee5eb1a8

View File

@ -1102,7 +1102,7 @@ if(MSVC)
# default for all sources is to use precompiled headers
foreach(source ${sources})
# 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}
PROPERTIES
COMPILE_FLAGS "/Yuprecompiled.hpp"