Skip to content

Commit

Permalink
disable install targets
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Sep 4, 2020
1 parent 22fc0ab commit 44a1971
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion common/cmake/package.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## Copyright 2009-2020 Intel Corporation
## SPDX-License-Identifier: Apache-2.0

INSTALL(DIRECTORY include/embree3 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT devel)

# Wenzel, Sep 4, 2020 -- skip all of the other installation instructions for Mitsuba
return()

INCLUDE(GNUInstallDirs)

IF (NOT EMBREE_ZIP_MODE AND NOT WIN32 AND NOT APPLE)
Expand Down Expand Up @@ -35,7 +40,6 @@ ENDIF()
# Install Headers
##############################################################

INSTALL(DIRECTORY include/embree3 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT devel)
IF (NOT WIN32)
INSTALL(DIRECTORY man/man3 DESTINATION ${CMAKE_INSTALL_MANDIR} COMPONENT devel)
ENDIF()
Expand Down
4 changes: 3 additions & 1 deletion kernels/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ target_include_directories(embree PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
$<INSTALL_INTERFACE:include>)


# libtbb is located in same install folder as libembree
IF(WIN32)
ELSEIF(APPLE)
Expand All @@ -334,6 +333,9 @@ ELSE()
SET_SOURCE_FILES_PROPERTIES(common/rtcore.cpp PROPERTIES OBJECT_DEPENDS ${PROJECT_SOURCE_DIR}/kernels/export.linux.map)
ENDIF()

# Wenzel, Sep 4, 2020 -- skip all of the installation instructions for Mitsuba
return()

#IF (EMBREE_ZIP_MODE)
# SET_TARGET_PROPERTIES(embree PROPERTIES VERSION ${EMBREE_VERSION_MAJOR} SOVERSION ${EMBREE_VERSION_MAJOR})
#ELSE()
Expand Down

0 comments on commit 44a1971

Please sign in to comment.