From 527d3ac174c679c93649ecb0471540ed2775b0b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Sat, 19 Apr 2008 09:08:29 +0000 Subject: [PATCH] cmake: skip configure checks only for msvc git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24341 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/development/cmake/CMakeLists.txt b/development/cmake/CMakeLists.txt index 1a70bda6e6..a4e048d6b2 100644 --- a/development/cmake/CMakeLists.txt +++ b/development/cmake/CMakeLists.txt @@ -289,11 +289,11 @@ if(MSVC) endif() # compiler tests, config.h generation -if(UNIX OR CONFIGURECHECKS) +if(MSVC AND NOT CONFIGURECHECKS) + configure_file(configCompiler.h.msvc ${CMAKE_BINARY_DIR}/configCompiler.h) +else() include(ConfigureChecks.cmake) configure_file(configCompiler.h.cmake ${CMAKE_BINARY_DIR}/configCompiler.h) -else() - configure_file(configCompiler.h.msvc ${CMAKE_BINARY_DIR}/configCompiler.h) endif() configure_file(config.h.cmake ${CMAKE_BINARY_DIR}/config.h) -- 2.39.5