aboutsummaryrefslogtreecommitdiff
path: root/src/platform/bootstrap/CMakeLists.txt
blob: 6df73f38eb9951bea378a523b5b060548ab67d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
add_library(cru_platform_bootstrap SHARED
	Bootstrap.cpp
)

if(WIN32)
	target_link_libraries(cru_platform_bootstrap PUBLIC cru_win_gui)
elseif(APPLE)
	target_link_libraries(cru_platform_bootstrap PUBLIC cru_osx_gui)
else()
	target_link_libraries(cru_platform_bootstrap PUBLIC cru_platform_graphics_cairo)
endif()

target_compile_definitions(cru_platform_bootstrap PRIVATE CRU_PLATFORM_BOOTSTRAP_EXPORT_API)