Skip to content
1 change: 1 addition & 0 deletions examples/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ add_subdirectory(vsgwindows)
add_subdirectory(vsgcameras)
add_subdirectory(vsgvalidate)
add_subdirectory(vsgaxes)
add_subdirectory(vsgcolorspace)

if (vsgXchange_FOUND)
add_subdirectory(vsghelloworld)
Expand Down
14 changes: 14 additions & 0 deletions examples/app/vsgcolorspace/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set(SOURCES
vsgcolorspace.cpp
)

add_executable(vsgcolorspace ${SOURCES})

target_link_libraries(vsgcolorspace vsg::vsg)

if (vsgXchange_FOUND)
target_compile_definitions(vsgcolorspace PRIVATE vsgXchange_FOUND)
target_link_libraries(vsgcolorspace vsgXchange::vsgXchange)
endif()

install(TARGETS vsgcolorspace RUNTIME DESTINATION bin)
Loading