1 set(SOURCES ossource.cpp ../osinclude.h)
3 add_library(OSDependent STATIC ${SOURCES})
4 set_property(TARGET OSDependent PROPERTY FOLDER glslang)
6 # MinGW GCC complains about function pointer casts to void*.
7 # Turn that off with -fpermissive.
8 if(${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
9 target_compile_options(OSDependent PRIVATE -fpermissive)
13 source_group("Source" FILES ${SOURCES})
16 install(TARGETS OSDependent
17 ARCHIVE DESTINATION lib)