Skip to content

Commit

Permalink
Link Python libraries for C++ tests.
Browse files Browse the repository at this point in the history
Refs #7798
  • Loading branch information
martyngigg committed Aug 7, 2014
1 parent 8b5796b commit a68ab6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if ( CXXTEST_FOUND )
if ( WIN32 )
set_target_properties( PythonInterfaceCppTest PROPERTIES COMPILE_FLAGS "/w44244" )
endif ()
target_link_libraries( PythonInterfaceCppTest PythonKernelModule PythonAPIModule )
target_link_libraries( PythonInterfaceCppTest PythonKernelModule PythonAPIModule ${PYTHON_LIBRARIES} )
add_dependencies ( FrameworkTests PythonInterfaceCppTest )
# Add to the 'UnitTests' group in VS
set_property ( TARGET PythonInterfaceCppTest PROPERTY FOLDER "UnitTests" )
Expand Down

0 comments on commit a68ab6c

Please sign in to comment.