mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
Fix compilation on WIN64 in Release mode
This commit is contained in:
parent
1e17e9ef94
commit
74493f3fdb
@ -88,11 +88,13 @@ ENDIF(${F2C_FOUND})
|
|||||||
ADD_LIBRARY(MEFISTO2D ${MEFISTO2D_SOURCES})
|
ADD_LIBRARY(MEFISTO2D ${MEFISTO2D_SOURCES})
|
||||||
TARGET_LINK_LIBRARIES(MEFISTO2D ${_link_LIBRARIES} )
|
TARGET_LINK_LIBRARIES(MEFISTO2D ${_link_LIBRARIES} )
|
||||||
|
|
||||||
#Ignore MSVCRT.lib on WIN32 in case using f2c code generator
|
#Ignore MSVCRT.lib on WINDOWS in case using f2c code generator
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
IF(${F2C_FOUND})
|
IF(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
SET_TARGET_PROPERTIES(MEFISTO2D PROPERTIES LINK_FLAGS "/NODEFAULTLIB:MSVCRT")
|
IF(${F2C_FOUND})
|
||||||
ENDIF(${F2C_FOUND})
|
SET_TARGET_PROPERTIES(MEFISTO2D PROPERTIES LINK_FLAGS "/NODEFAULTLIB:MSVCRT")
|
||||||
|
ENDIF(${F2C_FOUND})
|
||||||
|
ENDIF()
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
|
|
||||||
INSTALL(TARGETS MEFISTO2D EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
|
INSTALL(TARGETS MEFISTO2D EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
|
||||||
|
Loading…
Reference in New Issue
Block a user