Fixed copy paste error in CMakeLists.txt (#245)

target_include_directories(spng <-- _static missing
This commit is contained in:
coeps 2023-01-27 16:54:13 +01:00 committed by GitHub
parent d86a11d3ab
commit 75c39ce094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ endif()
if(SPNG_STATIC)
add_library(spng_static STATIC ${spng_SOURCES})
target_include_directories(spng PUBLIC ${PROJECT_SOURCE_DIR}/spng)
target_include_directories(spng_static PUBLIC ${PROJECT_SOURCE_DIR}/spng)
target_compile_definitions(spng_static PUBLIC SPNG_STATIC)
install(TARGETS spng_static DESTINATION lib)
endif()