Description: Use pkgconfig to find the system library for tbb
Author: Michael R. Crusoe <crusoe@ucdavis.edu>
--- salmon.orig/CMakeLists.txt
+++ salmon/CMakeLists.txt
@@ -169,6 +169,9 @@
 set (Boost_USE_MULTITHREADED ON)
 #set (Boost_USE_STATIC_RUNTIME OFF)
 
+find_package (PkgConfig)
+pkg_check_modules(TBB REQUIRED tbb)
+
 find_package (ZLIB)
 if (NOT ZLIB_FOUND)
 	message (FATAL_ERROR "zlib must be installed before configuration & building can proceed")
@@ -370,7 +373,8 @@
 #                    cp config.h <INSTALL_DIR>/include/
 #)
 
-find_package(TBB)
+#find_package(TBB)
+
 
 ##
 #
