Template
Update CMakeLists.txt
only link to opengl32.lib on windows
This commit is contained in:
1 parent
ab25ee9626
commit
05f1069e2f
1 file changed
+3
@@ -30,7 +30,10 @@ add_executable(
|
||||
)
|
||||
|
||||
target_include_directories(${current_target} PUBLIC ${CMAKE_SOURCE_DIR}/external)
|
||||
|
||||
if(MSVC)
|
||||
target_link_libraries(${current_target} PUBLIC opengl32.lib)
|
||||
endif()
|
||||
|
||||
if( ENABLE_ALL_REASONABLE_WARNINGS )
|
||||
MESSAGE("-- Additional Warnings Enabled")
|
||||
|
||||
Reference in new issue
Block a user