cmake: skip configure checks only for msvc

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24341 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2008-04-19 09:08:29 +00:00
parent d0eeff3726
commit 527d3ac174

View File

@ -289,11 +289,11 @@ if(MSVC)
endif() endif()
# compiler tests, config.h generation # 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) include(ConfigureChecks.cmake)
configure_file(configCompiler.h.cmake ${CMAKE_BINARY_DIR}/configCompiler.h) configure_file(configCompiler.h.cmake ${CMAKE_BINARY_DIR}/configCompiler.h)
else()
configure_file(configCompiler.h.msvc ${CMAKE_BINARY_DIR}/configCompiler.h)
endif() endif()
configure_file(config.h.cmake ${CMAKE_BINARY_DIR}/config.h) configure_file(config.h.cmake ${CMAKE_BINARY_DIR}/config.h)