Disable null prefix on certain FreeCAD* targets
This commit is contained in:
parent
5fbc308ce4
commit
1f7743ad98
|
@ -223,7 +223,9 @@ MACRO(SET_BIN_DIR ProjectName OutputName)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set_target_properties(${ProjectName} PROPERTIES DEBUG_OUTPUT_NAME ${OutputName}_d)
|
set_target_properties(${ProjectName} PROPERTIES DEBUG_OUTPUT_NAME ${OutputName}_d)
|
||||||
else(WIN32)
|
else(WIN32)
|
||||||
|
if(NOT ${ProjectName} MATCHES "^FreeCAD(App|Base|Gui|Main|MainCmd)$")
|
||||||
set_target_properties(${ProjectName} PROPERTIES PREFIX "")
|
set_target_properties(${ProjectName} PROPERTIES PREFIX "")
|
||||||
|
endif(NOT ${ProjectName} MATCHES "^FreeCAD(App|Base|Gui|Main|MainCmd)$")
|
||||||
|
|
||||||
if(${ARGC} STREQUAL 4)
|
if(${ARGC} STREQUAL 4)
|
||||||
set_target_properties(${ProjectName} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
|
set_target_properties(${ProjectName} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}${ARGV3})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user