GPUOpen-Tools / compressonator

Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs
1.29k stars 193 forks source link

CMP_CORE is relaying on ${PROJECT_FOLDER_SDK_LIBS} which is empty #322

Open iaomw opened 2 months ago

iaomw commented 2 months ago

I am trying to build my project with only cmp_core. But it cannot compile with ${PROJECT_FOLDER_SDK_LIBS}, because it's empty. While I see this value is been set in your root CMakeList.txt. It's way too complex to work with that file.

Here is my cmake code below. How to make it compile with cmp_core without any problem?

add_subdirectory(compressonator/cmp_core)

target_include_directories(projectname PUBLIC
    ./compressonator/cmp_core/source
)

target_link_libraries(projectname PRIVATE CMP_Core)