ENH: Add package to bundle test
This commit is contained in:
parent
09b34fa796
commit
4909154387
|
@ -950,6 +950,7 @@ IF(BUILD_TESTING)
|
|||
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
|
||||
--build-project BundleTest
|
||||
--build-target install
|
||||
--build-target package
|
||||
--build-options "-DCMAKE_INSTALL_PREFIX:PATH=${BundleTestInstallDir}"
|
||||
--test-command
|
||||
${BundleTestInstallDir}/Application/BundleTestExe.app/Contents/MacOS/BundleTestExe)
|
||||
|
|
|
@ -24,3 +24,6 @@ ENDIF(NOT XCODE)
|
|||
# Make sure the executable can find its installed library.
|
||||
SET_TARGET_PROPERTIES(BundleTestLib PROPERTIES
|
||||
INSTALL_NAME_DIR "@executable_path/../Plugins")
|
||||
|
||||
INCLUDE(CPack)
|
||||
|
||||
|
|
Loading…
Reference in New Issue