fix: cannot find build target

This commit is contained in:
TaurusXin 2024-03-25 12:05:50 +08:00
parent 068b1a6512
commit e5cd9bddde
1 changed files with 1 additions and 4 deletions

View File

@ -36,10 +36,7 @@ if(WIN32)
) )
set_target_properties(ncmdump_exec PROPERTIES OUTPUT_NAME "ncmdump") set_target_properties(ncmdump_exec PROPERTIES OUTPUT_NAME "ncmdump")
set_target_properties(ncmdump_lib PROPERTIES OUTPUT_NAME "ncmdump") set_target_properties(ncmdump_lib PROPERTIES OUTPUT_NAME "libncmdump")
# Prefix shared libraries with 'lib'.
set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
target_include_directories(ncmdump_lib PRIVATE src/include) target_include_directories(ncmdump_lib PRIVATE src/include)