This commit is contained in:
张壹 2025-02-09 16:12:06 +08:00
parent 963ca494ae
commit 8492445240
3 changed files with 1 additions and 5 deletions

View File

@ -9,9 +9,7 @@ message(STATUS "Install prefix: " ${CMAKE_INSTALL_PREFIX})
message(STATUS "Processor: " ${CMAKE_HOST_SYSTEM_PROCESSOR})
find_package(GCTL REQUIRED)
find_package(GCTL_GRAPHIC REQUIRED)
message(STATUS "GCTL Version: " ${GCTL_VERSION})
message(STATUS "GCTL_GRAPHIC Version: " ${GCTL_GRAPHIC_VERSION})
#if(${GCTL_VERSION} LESS 1.0)
# message(FATAL_ERROR "GCTL's version must be v1.0 or bigger.")
#endif()

View File

@ -27,9 +27,7 @@ set_target_properties(gctl_mesh_static PROPERTIES CXX_STANDARD 17 CXX_STANDARD_R
#
target_link_libraries(gctl_mesh PUBLIC ${GCTL_LIB})
target_link_libraries(gctl_mesh PUBLIC ${GCTL_GRAPHIC_LIB})
target_link_libraries(gctl_mesh_static ${GCTL_LIB})
target_link_libraries(gctl_mesh_static ${GCTL_GRAPHIC_LIB})
if(GCTL_MESH_WAVELIB)
target_link_libraries(gctl_mesh PUBLIC ${WaveLib_LIB})

View File

@ -30,7 +30,7 @@
#include "meshdata.h"
#include "gctl/io.h"
#include "gctl/algorithm.h"
#include "gctl/algorithms.h"
namespace gctl
{