diff options
| author | realtradam <[email protected]> | 2023-03-26 00:52:13 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-03-26 00:52:13 -0400 |
| commit | 4670ac42a773ea97157f71d78687f79d6ba3c1d9 (patch) | |
| tree | 3c70b7d4073d48ff3c5066c9cf7ab812031a3551 /CMakeLists.txt | |
| parent | 2577adf913e292a4a515e7dfc4023e37e8177f46 (diff) | |
| download | RodeoKit-4670ac42a773ea97157f71d78687f79d6ba3c1d9.tar.gz RodeoKit-4670ac42a773ea97157f71d78687f79d6ba3c1d9.zip | |
added loading images as well as loding textures
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6590cf2..c779f26 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,7 @@ target_compile_options(${PROJECT_NAME} PRIVATE -Wextra -Wpedantic #-Werror +-Wconversion ) endif() @@ -53,6 +54,7 @@ endif() if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Emscripten") add_subdirectory(external/SDL) + add_subdirectory(external/SDL_image) endif() add_subdirectory(external/cglm) @@ -107,6 +109,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Emscripten") elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") target_include_directories(${PROJECT_NAME} PUBLIC external/SDL/include + PUBLIC external/SDL_image/include PUBLIC external/bgfx/include PUBLIC external/bx/include PUBLIC external/cglm/include @@ -117,6 +120,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") target_link_directories(${PROJECT_NAME} PRIVATE external/SDL + PRIVATE external/SDL_image PRIVATE external/bgfx ) endif() @@ -135,6 +139,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") #SDL2::SDL2-static # static lib #SDL2::SDL2main SDL2::SDL2 # dynamic lib + SDL2_image cglm ${BINARY_DIR}/.build/linux64_gcc/bin/libbgfx-shared-libRelease.so ) |
