2018-09-26 14:40:41 +00:00
|
|
|
if(APPLE)
|
|
|
|
set(SCRIPT CompleteBundleOSX)
|
|
|
|
elseif(WIN32)
|
|
|
|
set(SCRIPT CompleteBundleWin)
|
|
|
|
elseif(UNIX)
|
|
|
|
set(SCRIPT CompleteBundleLinux)
|
|
|
|
endif(APPLE)
|
|
|
|
|
|
|
|
if(SCRIPT AND EXISTS ${CMAKE_SOURCE_DIR}/CMakeModules/${SCRIPT}.cmake.in)
|
|
|
|
configure_file(${CMAKE_SOURCE_DIR}/CMakeModules/${SCRIPT}.cmake.in ${SCRIPT}.cmake @ONLY)
|
|
|
|
include(${CMAKE_CURRENT_BINARY_DIR}/${SCRIPT}.cmake)
|
2018-12-15 18:57:00 +00:00
|
|
|
endif()
|