|
@@ -38,10 +38,9 @@ configure_package_config_file(
|
|
|
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${TARGET_CONFIG}.cmake" DESTINATION "${TARGET_CMAKE_DIR}" COMPONENT dev)
|
|
|
|
|
|
+export(PACKAGE ${TARGET})
|
|
|
export(TARGETS ${TARGET} FILE ${TARGET_EXPORT}.cmake)
|
|
|
|
|
|
-set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_PREFIX_PATH})
|
|
|
-
|
|
|
if(DEFINED $ENV{MICROJSON_MAKE_TESTS})
|
|
|
set(MICROJSON_MAKE_TESTS $ENV{MICROJSON_MAKE_TESTS})
|
|
|
elseif(NOT DEFINED MICROJSON_MAKE_TESTS)
|