From 8eee5eb1a86e81e2645eaca9b4b6c162f643c755 Mon Sep 17 00:00:00 2001 From: Romain Moret Date: Mon, 6 May 2019 20:19:50 +0200 Subject: [PATCH] Fix a typo in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 74ba2b67..6d2af332 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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"