Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kkorotkov committed Aug 18, 2024
1 parent 854f7a2 commit 5c620bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@

# Generated and working files and directories
tests/run_tests
build
build*
.vscode
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
find_package(CURL REQUIRED)

if (BUILD_TESTS)
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost 1.40 REQUIRED unit_test_framework)
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost 1.40 REQUIRED unit_test_framework)
endif()

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
Expand All @@ -22,7 +22,7 @@ set(LIBS ${LIBS} ${CURL_LIBRARIES} ${JSONCPP_LIBRARIES})
set(BUILD_SHARED_LIBS OFF)

add_definitions(-DCURL_STATICLIB)
if(UNIX)
if (UNIX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++0x")
endif()

Expand All @@ -37,7 +37,7 @@ target_link_libraries(netlicensing ${LIBS})
# demo client
file(GLOB client_demo_headers client_demo/${db2lp_component}/*h)
file(GLOB client_demo_sources client_demo/${db2lp_component}/*cc)
add_executable(netlicensing-client-demo ${client_demo_headers} ${client_demo_sources} )
add_executable(netlicensing-client-demo ${client_demo_headers} ${client_demo_sources})
target_link_libraries(netlicensing-client-demo netlicensing ${LIBS})

if (BUILD_TESTS)
Expand Down

0 comments on commit 5c620bc

Please sign in to comment.