diff --git a/CMakeLists.txt b/CMakeLists.txt index a976b84..91ac814 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,22 +11,11 @@ set(SRC_DIR src) set(INC_DIR include) # Source files -file(GLOB_RECURSE INCLUDE_FILES ${INC_DIR}/*.h) file(GLOB_RECURSE SOURCE_FILES ${SRC_DIR}/*.c) -add_library(${PROJECT_NAME} SHARED ${INCLUDE_FILES} ${SOURCE_FILES}) include_directories(include) add_executable(speed_cpu ${SOURCE_FILES}) target_link_libraries(speed_cpu m) -set_target_properties(${PROJECT_NAME} - PROPERTIES - PUBLIC_HEADER "${INCLUDE_FILES}" -) - -install(TARGETS ${PROJECT_NAME} - LIBRARY DESTINATION lib - PUBLIC_HEADER DESTINATION include -)