aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/libservice
diff options
context:
space:
mode:
Diffstat (limited to 'utils/libservice')
-rw-r--r--utils/libservice/CMakeLists.txt12
-rw-r--r--utils/libservice/test/CMakeLists.txt2
2 files changed, 7 insertions, 7 deletions
diff --git a/utils/libservice/CMakeLists.txt b/utils/libservice/CMakeLists.txt
index ad9e065..720a44b 100644
--- a/utils/libservice/CMakeLists.txt
+++ b/utils/libservice/CMakeLists.txt
@@ -1,9 +1,9 @@
-project(libservice)
-file(GLOB ${PROJECT_NAME}_sources "src/*.cpp")
-file(GLOB_RECURSE ${PROJECT_NAME}_headers "include/*.hpp")
-add_library(${PROJECT_NAME} ${${PROJECT_NAME}_sources}
- ${${PROJECT_NAME}_headers})
-target_include_directories(${PROJECT_NAME} PUBLIC include)
+file(GLOB libservice_sources "src/*.cpp")
+file(GLOB_RECURSE libservice_headers "include/*.hpp")
+add_library(libservice
+ ${libservice_sources}
+ ${libservice_headers})
+target_include_directories(libservice PUBLIC include)
add_subdirectory(test)
add_subdirectory(utils)
diff --git a/utils/libservice/test/CMakeLists.txt b/utils/libservice/test/CMakeLists.txt
index f05eeab..4780deb 100644
--- a/utils/libservice/test/CMakeLists.txt
+++ b/utils/libservice/test/CMakeLists.txt
@@ -1,4 +1,4 @@
add_executable(libservice_test_windows_error windows_error.cpp)
target_link_libraries(libservice_test_windows_error libservice)
set_target_properties(libservice_test_windows_error PROPERTIES
- OUTPUT_NAME windows_error)
+ OUTPUT_NAME windows_error)