Skip to content

Commit

Permalink
link to visual also if USE_GUI=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo committed Nov 29, 2018
1 parent 1432182 commit 593ce09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libsrc/interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ add_library(interface ${NG_LIB_TYPE}

if(NOT WIN32)
target_link_libraries(interface mesh csg geom2d)
if(USE_GUI)
target_link_libraries(interface visual)
endif(USE_GUI)
target_link_libraries(interface visual)
install( TARGETS interface ${NG_INSTALL_DIR})
endif(NOT WIN32)

Expand Down

0 comments on commit 593ce09

Please sign in to comment.