Bug fix to examples/CMakeLists.txt to add transparent to WINDOWS_BINARIES.

This fix is due to @thomthom on GitHub, who discovered the bug and suggested
the fix.  Basically, I forgot to add the 'transparent' app to the list of
Windows applications, which made a mess of the linker, etc.  This fix should
take care of it.
This commit is contained in:
Cem Karan 2016-02-16 13:53:32 -05:00
parent c63da92547
commit 1e1def1d04

View File

@ -43,7 +43,7 @@ add_executable(filters WIN32 MACOSX_BUNDLE filters.c ${ICON} ${TINYCTHREAD} ${GE
target_link_libraries(particles "${CMAKE_THREAD_LIBS_INIT}" "${RT_LIBRARY}") target_link_libraries(particles "${CMAKE_THREAD_LIBS_INIT}" "${RT_LIBRARY}")
target_link_libraries(filters "${CMAKE_THREAD_LIBS_INIT}" "${RT_LIBRARY}") target_link_libraries(filters "${CMAKE_THREAD_LIBS_INIT}" "${RT_LIBRARY}")
set(WINDOWS_BINARIES boing gears heightmap particles simple splitview wave filters) set(WINDOWS_BINARIES boing gears heightmap particles simple transparent splitview wave filters)
set_target_properties(${WINDOWS_BINARIES} PROPERTIES FOLDER "GLFW3/Examples") set_target_properties(${WINDOWS_BINARIES} PROPERTIES FOLDER "GLFW3/Examples")