Thanks for the info. In my case my libraries were requiring the GNU library so I was able to use either of the following to fix my problem.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Y_gpp")
or
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")