Skip to content

Commit 5895443

Browse files
authored
Merge pull request #8 from povargek/patch-1
cmake: fix macOS library linking
2 parents 38e9795 + b30e63f commit 5895443

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/compiler/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ endif()
6262

6363
if(APPLE)
6464
set(CMAKE_MACOSX_RPATH ON)
65+
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
6566
endif()
6667

6768
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in

0 commit comments

Comments
 (0)