Skip to content

Commit d62cee1

Browse files
authored
Merge pull request #16 from felixjulianheitmann/develop
Publish header directory
2 parents 92fc492 + c83396a commit d62cee1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/license_generator/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ ADD_LIBRARY(license_generator_lib
44
STATIC command_line-parser.cpp license.cpp project.cpp ../ini/ConvertUTF.cpp
55
$<TARGET_OBJECTS:lcc_base> )
66

7+
target_include_directories(license_generator_lib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
8+
79
if(UNIX)
810
set_target_properties(license_generator_lib PROPERTIES POSITION_INDEPENDENT_CODE ${STATIC_RUNTIME})
911
target_link_libraries(license_generator_lib PUBLIC
1012
${Boost_LIBRARIES} OpenSSL::Crypto ${EXTERNAL_LIBS} ${CMAKE_DL_LIBS})
1113
else(UNIX)
12-
if(OPENSSL_FOUND) #windows and openssl found
14+
if(OPENSSL_FOUND) #windows and openssl found
1315
target_link_libraries(license_generator_lib PUBLIC ${Boost_LIBRARIES} ${EXTERNAL_LIBS})
1416
else(OPENSSL_FOUND)
1517
target_link_libraries(license_generator_lib PUBLIC

0 commit comments

Comments
 (0)