More mac fixes
This commit is contained in:
parent
f0db119873
commit
17b0a74046
|
@ -38,15 +38,8 @@ IF ( CMAKE_WX_CAN_COMPILE )
|
|||
SET(APPLE_GUI_COPYRIGHT "Copyright 2002 Kitware Inc.")
|
||||
CONFIGURE_FILE(${CMAKE_ROOT}/Templates/AppleInfo.plist
|
||||
${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/Info.plist)
|
||||
MAKE_DIRECTORY(${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/MacOS)
|
||||
#WRITE_FILE(${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/PkgInfo "APPL????")
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
SOURCE wxCMakeSetup
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS -E copy
|
||||
${EXECUTABLE_OUTPUT_PATH}/wxCMakeSetup
|
||||
${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/MacOS/wxCMakeSetup.lala
|
||||
TARGET wxCMakeSetup)
|
||||
ADD_EXECUTABLE(CMake.app/Contents/MacOS/wxCMakeSetup ${WIN32_EXECUTABLE} ${WX_SRCS})
|
||||
TARGET_LINK_LIBRARIES(CMake.app/Contents/MacOS/wxCMakeSetup ${WXWINDOWS_LIBRARY})
|
||||
TARGET_LINK_LIBRARIES(CMake.app/Contents/MacOS/wxCMakeSetup CMakeLib)
|
||||
|
|
Loading…
Reference in New Issue