mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Windows: suppress Cmake warnings
This commit is contained in:
parent
b5ebe3d272
commit
00971639b0
@ -21,6 +21,9 @@ PROJECT(SalomeSMESH C CXX)
|
||||
|
||||
# Ensure a proper linker behavior:
|
||||
CMAKE_POLICY(SET CMP0003 NEW)
|
||||
IF(WIN32)
|
||||
CMAKE_POLICY(SET CMP0020 OLD) # disable automatic linking to qtmain.lib
|
||||
ENDIF(WIN32)
|
||||
|
||||
# Versioning
|
||||
# ===========
|
||||
|
@ -48,8 +48,6 @@ ADD_CUSTOM_TARGET(usr_docs ${CMAKE_COMMAND} -E make_directory tmp1
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
#ADD_DEPENDENCIES(usr_docs html_docs)
|
||||
|
||||
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target usr_docs)")
|
||||
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/SMESH DESTINATION ${SALOME_INSTALL_DOC}/gui)
|
||||
INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/SMESH)
|
||||
|
Loading…
Reference in New Issue
Block a user