Skip to content

Commit

Permalink
Fixed compilation issue on MacOS (failed finding ui file).
Browse files Browse the repository at this point in the history
  • Loading branch information
Sverre Briseid committed Sep 25, 2024
1 parent 19495d8 commit 9aaaecb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion viewlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ endif()
# For the file to be generated we need to pass it through the QT4_WRAP_CPP macro.

# Manually specify the paths for AUTOUIC if needed
set(CMAKE_AUTOUIC_SEARCH_PATHS "${viewlib_SOURCE_DIR}/include/GoTools/viewlib")
set(CMAKE_AUTOUIC_SEARCH_PATHS
"${viewlib_SOURCE_DIR}/include/GoTools/viewlib"
"${viewlib_SOURCE_DIR}/include/GoTools/viewlib/vol_and_lr"
)
file(GLOB viewlib_UIS ${viewlib_SOURCE_DIR}/include/GoTools/viewlib/*.ui)

if(GoTools_USE_Qt4)
Expand Down

0 comments on commit 9aaaecb

Please sign in to comment.