mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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:
parent
d0eeff3726
commit
527d3ac174
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user