Skip to content
Snippets Groups Projects
Commit 317a9317 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Another fix for cmake/mac bundle

parent 54136876
No related branches found
No related tags found
No related merge requests found
......@@ -135,10 +135,12 @@ if(UNIX)
set(fixup_path @rpath)
# handling the case when cmake prefix path contains more than one entry
# FIXME handling the case when cmake prefix path contains more than one entry FIXME
# the problem here is FixAppleBundle is working in install phase and doesn't see some cmake variables
set(cmake_prefix_path_to_parse ${CMAKE_PREFIX_PATH})
list(LENGTH cmake_prefix_path_to_parse len)
list(GET cmake_prefix_path_to_parse 0 cmake_prefix_path1)
set(cmake_prefix_path2 "undefined_cmake_prefix_path2")
if(len EQUAL 2)
list(GET cmake_prefix_path_to_parse 1 cmake_prefix_path2)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment