Skip to content

Commit

Permalink
Merge pull request #18 from OznOg/fix_includes
Browse files Browse the repository at this point in the history
set proper include directory for target ced
  • Loading branch information
JinsukKim authored Dec 2, 2021
2 parents 37529e6 + e464810 commit d613c43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

include_directories(${CMAKE_SOURCE_DIR})

set(CED_LIBRARY_SOURCES
compact_enc_det/compact_enc_det.cc
compact_enc_det/compact_enc_det_hint_code.cc
Expand All @@ -69,6 +67,8 @@ set(CED_LIBRARY_SOURCES

add_library(ced ${CED_LIBRARY_SOURCES})

target_include_directories(ced PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

# Uncomment to put CED into WHATWG-compliant mode.
#add_definitions(-DHTML5_MODE)

Expand Down

0 comments on commit d613c43

Please sign in to comment.