Skip to content

Commit

Permalink
don't force IGC shared library name when building full-source
Browse files Browse the repository at this point in the history
We respect library name passed from IGC cmakes

Change-Id: I030f0b473b51e6522613a19e00d84d0f2b254daa
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
  • Loading branch information
ArturHarasimiuk committed May 30, 2018
1 parent 1d9bee7 commit 1e045e3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,9 @@ if(NOT IGC__IGC_TARGETS)

message(STATUS "IGC source dir is: ${IGC_DIR}")

set(IGC_OPTION__LIBRARY_NAME "igdccl")
set(FCL_OPTION__LIBRARY_NAME "igdfcl")
set(IGC_OPTION__OUTPUT_DIR "${IGDRCL_BUILD_DIR}/igc")
set(IGC_OPTION__INCLUDE_IGC_COMPILER_TOOLS OFF)
add_subdirectory("${IGC_DIR}" "${IGDRCL_BUILD_DIR}/igc" EXCLUDE_FROM_ALL)
if(NOT IGC_LIBRARY_NAME)
set(IGC_LIBRARY_NAME "${IGC_OPTION__LIBRARY_NAME}")
endif()
if(NOT FCL_LIBRARY_NAME)
set(FCL_LIBRARY_NAME "${FCL_OPTION__LIBRARY_NAME}")
endif()
endif()

set(IGDRCL__IGC_TARGETS "${IGC__IGC_TARGETS}")
Expand Down

0 comments on commit 1e045e3

Please sign in to comment.