Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Oct 13, 2019
1 parent 8be9b60 commit 4f53bd0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions CMakeLists.txt
Expand Up @@ -1159,12 +1159,6 @@ if(APPLE)
macos_deploy_qt_plugin(sqldrivers qsqlite)
macos_deploy_qt_plugin(styles qmacstyle)
else()
# Make sure that OpenCOR uses RPATH rather than RUNPATH on Linux

if(NOT WIN32)
runpath2rpath(${PROJECT_NAME} ${PROJECT_BUILD_DIR}/${CMAKE_PROJECT_NAME})
endif()

# Copy the GUI version of the OpenCOR executable to the build/bin folder

copy_file_to_build_dir(${CMAKE_PROJECT_NAME} ${PROJECT_BUILD_DIR} bin
Expand Down Expand Up @@ -1252,6 +1246,10 @@ else()

copy_file_to_build_dir(DIRECT ${QT_BINARY_DIR} . ${ORIG_MESA_FILENAME} ${DEST_MESA_FILENAME})
copy_file_to_build_dir(DIRECT ${QT_BINARY_DIR} bin ${ORIG_MESA_FILENAME} ${DEST_MESA_FILENAME})
else()
# Make sure that OpenCOR uses RPATH rather than RUNPATH on Linux

runpath2rpath(${PROJECT_NAME} ${PROJECT_BUILD_DIR}/${CMAKE_PROJECT_NAME})
endif()
endif()

Expand Down

0 comments on commit 4f53bd0

Please sign in to comment.