mirror of
https://github.com/NGSolve/netgen.git
synced 2025-05-12 13:40:49 +05:00
Set explicit OBJECT library type for internal togl
On UNIX systems, the togl library should be statically linked. When the type is not set explicitly, this would default to SHARED when -DBUILD_SHARED_LIBS:BOOL=ON is set.
This commit is contained in:
parent
86fd2983c7
commit
8189ec0872
@ -20,7 +20,7 @@ else(WIN32)
|
||||
include_directories(BEFORE "${TCL_INCLUDE_PATH}")
|
||||
include_directories(BEFORE "${TK_INCLUDE_PATH}")
|
||||
|
||||
add_library(togl togl.c toglProcAddr.c toglStubInit.c)
|
||||
add_library(togl OBJECT togl.c toglProcAddr.c toglStubInit.c)
|
||||
target_link_libraries(togl ${TCL_STUB_LIBRARY} ${TK_STUB_LIBRARY})
|
||||
endif(WIN32)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user