We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 527cbe7 commit 9ee75b1Copy full SHA for 9ee75b1
1 file changed
src/ngscopeclient/CMakeLists.txt
@@ -249,11 +249,10 @@ if(LINUX)
249
endif()
250
251
if(APPLE)
252
- set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR})
253
- install(CODE [[
254
- include(BundleUtilities)
255
- fixup_bundle("${CMAKE_INSTALL_PREFIX}/ngscopeclient-${NGSCOPECLIENT_VERSION}.app" "" "")
256
- ]] COMPONENT Runtime)
+ set(APPS "\${CMAKE_INSTALL_PREFIX}/bin/ngscopeclient")
+ set(DIRS "\${CMAKE_INSTALL_PREFIX}/lib")
+ install(CODE "include(BundleUtilities)
+ fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\")")
257
258
259
# ngscopeclient Windows portable zip/MSI installer build
0 commit comments