More mac fixes

This commit is contained in:
Andy Cedilnik 2002-11-05 09:38:34 -05:00
parent f0db119873
commit 17b0a74046
1 changed files with 1 additions and 8 deletions

View File

@ -38,15 +38,8 @@ IF ( CMAKE_WX_CAN_COMPILE )
SET(APPLE_GUI_COPYRIGHT "Copyright 2002 Kitware Inc.") SET(APPLE_GUI_COPYRIGHT "Copyright 2002 Kitware Inc.")
CONFIGURE_FILE(${CMAKE_ROOT}/Templates/AppleInfo.plist CONFIGURE_FILE(${CMAKE_ROOT}/Templates/AppleInfo.plist
${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/Info.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????") #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}) 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 ${WXWINDOWS_LIBRARY})
TARGET_LINK_LIBRARIES(CMake.app/Contents/MacOS/wxCMakeSetup CMakeLib) TARGET_LINK_LIBRARIES(CMake.app/Contents/MacOS/wxCMakeSetup CMakeLib)