mirror of
https://git.planet-casio.com/Lephenixnoir/libprof.git
synced 2024-12-26 11:33:41 +01:00
cmake: install in the fxSDK sysroot
This commit is contained in:
parent
5b669e5529
commit
6df36ce8d3
2 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@ target_include_directories(${NAME} PUBLIC "${CMAKE_CURRENT_BINARY_DIR}")
|
|||
target_link_libraries(${NAME} Gint::Gint)
|
||||
|
||||
install(TARGETS ${NAME}
|
||||
DESTINATION "${FXSDK_COMPILER_INSTALL}")
|
||||
DESTINATION "${FXSDK_LIB}")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libprof.h"
|
||||
DESTINATION "${FXSDK_COMPILER_INSTALL}/include")
|
||||
DESTINATION "${FXSDK_INCLUDE}")
|
||||
install(FILES cmake/FindLibProf.cmake
|
||||
DESTINATION "${FXSDK_CMAKE_MODULE_PATH}")
|
||||
|
|
|
@ -3,7 +3,7 @@ include(FindPackageHandleStandardArgs)
|
|||
|
||||
find_package(Gint 2.2.1 REQUIRED)
|
||||
|
||||
find_simple_library("libprof-${FXSDK_PLATFORM}.a" include/libprof.h
|
||||
find_simple_library("libprof-${FXSDK_PLATFORM}.a" libprof.h
|
||||
"PROF_VERSION" PATH_VAR PROF_PATH VERSION_VAR PROF_VERSION)
|
||||
|
||||
find_package_handle_standard_args(LibProf
|
||||
|
|
Loading…
Reference in a new issue