Skip to content

Commit 66ab401

Browse files
Build fixes for OSL on Windows
This changelist contains two fixes for OSL builds on the Windows platform, both of which were authored by Kai Rohmer at NVIDIA. Signed-off-by: Jonathan Stone <[email protected]>
1 parent 635d156 commit 66ab401

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/testrender/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ add_executable (testrender ${testrender_srcs})
7979

8080
target_link_libraries (testrender
8181
PRIVATE
82-
oslexec oslquery
82+
oslexec oslquery oslcomp
8383
pugixml::pugixml
8484
Threads::Threads)
8585

src/testshade/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# SPDX-License-Identifier: BSD-3-Clause
33
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
44

5+
set (LLVM_COMPILE_FLAGS ${LLVM_COMPILE_FLAGS} -std=c++${CMAKE_CXX_STANDARD})
6+
57
# The 'testshade' executable
68
set ( testshade_srcs
79
testshade.cpp

0 commit comments

Comments
 (0)